Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict generalisation #242

Draft
wants to merge 60 commits into
base: master
Choose a base branch
from
Draft

Conflict generalisation #242

wants to merge 60 commits into from

Conversation

rtaupe
Copy link
Collaborator

@rtaupe rtaupe commented Mar 23, 2020

Related issue: #115

@codecov
Copy link

codecov bot commented Mar 23, 2020

Codecov Report

Merging #242 into master will decrease coverage by 0.12%.
The diff coverage is 74.79%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #242      +/-   ##
============================================
- Coverage     76.83%   76.71%   -0.13%     
- Complexity     2056     2065       +9     
============================================
  Files           150      153       +3     
  Lines          6782     6866      +84     
  Branches       1184     1188       +4     
============================================
+ Hits           5211     5267      +56     
- Misses         1177     1202      +25     
- Partials        394      397       +3     
Impacted Files Coverage Δ Complexity Δ
...n/java/at/ac/tuwien/kr/alpha/common/AtomStore.java 100.00% <ø> (ø) 6.00 <0.00> (ø)
.../java/at/ac/tuwien/kr/alpha/solver/Antecedent.java 0.00% <0.00%> (ø) 0.00 <0.00> (?)
...va/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java 60.42% <0.00%> (ø) 57.00 <0.00> (ø)
...n/kr/alpha/solver/SolverMaintainingStatistics.java 37.50% <ø> (ø) 1.00 <0.00> (ø)
.../alpha/grounder/atoms/BodyRepresentingLiteral.java 42.85% <42.85%> (ø) 2.00 <2.00> (?)
...va/at/ac/tuwien/kr/alpha/solver/WatchedNoGood.java 67.08% <50.00%> (-0.45%) 31.00 <0.00> (ø)
.../at/ac/tuwien/kr/alpha/common/NonGroundNoGood.java 53.48% <53.48%> (ø) 10.00 <10.00> (?)
...main/java/at/ac/tuwien/kr/alpha/common/NoGood.java 71.87% <57.14%> (-0.66%) 47.00 <2.00> (+1.00) ⬇️
...t/ac/tuwien/kr/alpha/grounder/NoGoodGenerator.java 97.91% <98.18%> (-0.42%) 23.00 <21.00> (ø)
.../at/ac/tuwien/kr/alpha/common/NoGoodInterface.java 100.00% <100.00%> (ø) 5.00 <1.00> (+1.00)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2239eb3...aa79539. Read the comment docs.

if atom not implied by conflict reason
# Conflicts:
#	src/main/java/at/ac/tuwien/kr/alpha/solver/learning/GroundConflictNoGoodLearner.java
(for upcoming conflict generalisation)
(before, we went to far in some cases and did too many resolutions when computing the 1UIP)
@rtaupe rtaupe marked this pull request as draft April 10, 2020 07:12
@rtaupe rtaupe changed the title WIP: Conflict generalisation Conflict generalisation Apr 10, 2020
because tested classes are also in common package
because tested classes are also in common package
(i.e., does not start with _ or upper-case letter)
(this is mainly to notice errors in unit tests!)
... none learned from nogood violated most often
if further resolution is not possible
that made nogoods too small by mapping different variables to the same new variable name
(to learn better nogoods in the case of 3col_crafted)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant